package edu.cmu.ece.ds.droidchat.message;

import java.io.Serializable;
import java.math.BigInteger;

/* Number 5
 * From: init user
 * To: user that is being invited
 * Purpose: create the symmetric key so we finish the initialization and
 * begin chat!
 */

public class CreateSessionKeyMessage extends CreateSessionMessage implements
Serializable {

	private static final long serialVersionUID = -4722752785141784965L;
	//chatSessionAttribute that you want encrypted with the requester
	//'s public key,
	private BigInteger[] encKey;
	private BigInteger[] encCipher;
	public CreateSessionKeyMessage(String chatSessionid,BigInteger[] key,BigInteger[] cipher){
		super(chatSessionid);
		this.encKey = key;
		this.encCipher = cipher;
		// TODO Auto-generated constructor stub
	}
	public BigInteger[] getEncKey() {
		return encKey;
	}
	public BigInteger[] getEncCipher() {
		return encCipher;
	}

}
